package src.com.qqcommon;

import java.io.Serializable;

/**
 * 类表示一个用户
 */

public class User implements Serializable {

    private static final long serialVersionUID = 1L; // 增强兼容性？？

    private String userId; // 用户Id
    private String password; // 用户密码

    public User() {}
    public User(String userId, String password) {
        this.userId = userId;
        this.password = password;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
